package com.unhz.generator.pojo;

import java.io.Serializable;
import java.util.Date;
/**
 * @Author: 沈佳庆
 * @Description: 行政区域数据字典
 * @Date: Created in 下午 6:40 2018/1/23 0023
 * @Modified By:
 */

public class AreaDict implements Serializable{

    /**序号**/
    private Integer id;

    /**地区名称**/
    private String name;

    /**排序**/
    private Integer orderBy;

    /**地区编码**/
    private String areaCode;

    /**所属关系**/
    private String parentCode;

    /**创建时间**/
    private Date createTime;

    /**创建者**/
    private String createBy;

    /**最后一次修改时间**/
    private Date updateTime;

    /**最后一次修改者**/
    private String updateBy;

    /**是否有效:0.无效 1.有效**/
    private Integer valid;

    /**等级**/
    private Integer grade;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getOrderBy() {
        return orderBy;
    }

    public void setOrderBy(Integer orderBy) {
        this.orderBy = orderBy;
    }

    public String getAreaCode() {
        return areaCode;
    }

    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode;
    }

    public String getParentCode() {
        return parentCode;
    }

    public void setParentCode(String parentCode) {
        this.parentCode = parentCode;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy == null ? null : createBy.trim();
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy == null ? null : updateBy.trim();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getValid() {
        return valid;
    }

    public void setValid(Integer valid) {
        this.valid = valid;
    }

    public Integer getGrade() {
        return grade;
    }

    public void setGrade(Integer grade) {
        this.grade = grade;
    }
}